package com.ruoyi.system.service.aggregation;

import java.util.List;
import com.ruoyi.system.domain.aggregation.Order;

/**
 * 订单Service接口
 * 
 * @author ruoyi
 * @date 2025-01-01
 */
public interface IOrderService 
{
    public Order selectOrderById(Long id);
    public List<Order> selectOrderList(Order order);
    
    /**
     * 创建订单
     */
    public Order createOrder(Order order);
    
    /**
     * 支付订单（积分+人民币混合支付）
     */
    public void payOrder(Long orderId, Long payAmount, Long payPointAmount);
    
    public int updateOrder(Order order);
    public int deleteOrderById(Long id);
}

